package com.meritdata.cloud.data.javabean; /***********************************************************************
 * Module:  TD_METADATA_COLUMN.java
 * Author:  Lenovo
 * Purpose: Defines the Class TD_METADATA_COLUMN
 ***********************************************************************/

import java.util.*;

/** 列信息表(覆盖性采集) */
public class TdMetadataColumn {
   /** ID:ID */
   private Long id;
   /** 表元数据ID:TABLE_ID */
   private Long tableId;
   /** 用于列引用的名称
    * 
    * 字段名称:NAME */
   private String name;
   /** 字段原始备注:COMMENT */
   private String comment;
   /** 字段类型:TYPE */
   private String type;
   /** 是否允许空值:NULLABLE */
   private int nullable;
   /** 字段长度:LENGTH */
   private int length;
   /** 是否主键:IS_PRIMARY_KEY */
   private int isPrimaryKey;
   /** 是否需要
    * 
    * 默认值:DEFAULT */
   private String defaultValue;
   /** 是否外键:IS_FOREIGN_KEY */
   private int isForeignKey;
public Long getId() {
	return id;
}
public void setId(Long id) {
	this.id = id;
}
public Long getTableId() {
	return tableId;
}
public void setTableId(Long tableId) {
	this.tableId = tableId;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getComment() {
	return comment;
}
public void setComment(String comment) {
	this.comment = comment;
}
public String getType() {
	return type;
}
public void setType(String type) {
	this.type = type;
}
public int getNullable() {
	return nullable;
}
public void setNullable(int nullable) {
	this.nullable = nullable;
}
public int getLength() {
	return length;
}
public void setLength(int length) {
	this.length = length;
}
public int getIsPrimaryKey() {
	return isPrimaryKey;
}
public void setIsPrimaryKey(int isPrimaryKey) {
	this.isPrimaryKey = isPrimaryKey;
}
public String getDefaultValue() {
	return defaultValue;
}
public void setDefaultValue(String defaultValue) {
	this.defaultValue = defaultValue;
}
public int getIsForeignKey() {
	return isForeignKey;
}
public void setIsForeignKey(int isForeignKey) {
	this.isForeignKey = isForeignKey;
}
}